import request from '@/utils/request'

// 查询招彩信息列表
export function listZcInformation(query) {
  return request({
    url: '/sales/ZcInformation/list',
    method: 'get',
    params: query
  })
}

// 查询招彩信息详细
export function getZcInformation(id) {
  return request({
    url: '/sales/ZcInformation/' + id,
    method: 'get'
  })
}

// 新增招彩信息
export function addZcInformation(data) {
  return request({
    url: '/sales/ZcInformation',
    method: 'post',
    data: data
  })
}

// 修改招彩信息
export function updateZcInformation(data) {
  return request({
    url: '/sales/ZcInformation',
    method: 'put',
    data: data
  })
}

// 删除招彩信息
export function delZcInformation(id) {
  return request({
    url: '/sales/ZcInformation/' + id,
    method: 'delete'
  })
}
